package hibernate.method.interfaces;

import hibernate.model.Local;

import java.util.List;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

public interface LocalMethodsInterface {

	
	public List<Local> listAllLocals(SessionFactory sessionFactory, Session session);
	
	public void addLocal(SessionFactory sessionFactory, Session session, String street, String local_number, String city, String province, String country, String description);
	
	public Local findLocalById(SessionFactory sessionFactory, Session session, int local_id);
	
	
}
